/*
 * @Author: nqx2007 fenglimima334@163.com
 * @Date: 2023-12-04 19:39:38
 * @LastEditors: nqx2007 fenglimima334@163.com
 * @LastEditTime: 2023-12-04 21:29:11
 * @FilePath: /operator-manager/src/services/user.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { request } from '@umijs/max';

// 获取用户信息
export async function getUserInfo(options?: Record<string, any>) {
    return request('/api/getInfo', {
      method: 'GET',
      ...(options || {}),
    });
}